package com.freedom.admin.infrastructure.persistence.assembler;

import com.freedom.admin.infrastructure.persistence.pojo.bo.DeptBO;
import com.freedom.admin.infrastructure.persistence.pojo.po.SysDeptPO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface DeptAssembler {

    List<DeptBO> toBOList(List<SysDeptPO> sysDeptPOList);

    DeptBO toBO(SysDeptPO sysDeptPO);

    SysDeptPO toPO(DeptBO deptBO);
}
